From: kfraser@localhost.localdomain Date: Thu, 16 Aug 2007 14:44:37 +0000 (+0100) Subject: Allow Xen to build on FreeBSD. X-Git-Tag: archive/raspbian/4.8.0-1+rpi1~1^2~14987^2~67^2~10 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/%22bookmarks://%22Dat/%22http:/www.example.com/cgi/%22https:/%22bookmarks:/%22Dat?a=commitdiff_plain;h=713bbc069968ca3e0b8cf4c15afc7552b1af10aa;p=xen.git Allow Xen to build on FreeBSD. From: Julian Stecklina Signed-off-by: Keir Fraser --- diff --git a/config/FreeBSD.mk b/config/FreeBSD.mk new file mode 100644 index 0000000000..b421a1c840 --- /dev/null +++ b/config/FreeBSD.mk @@ -0,0 +1 @@ +include $(XEN_ROOT)/config/StdGNU.mk diff --git a/config/x86_32.mk b/config/x86_32.mk index ce0bb67ba1..87f60defad 100644 --- a/config/x86_32.mk +++ b/config/x86_32.mk @@ -13,6 +13,8 @@ LIBDIR := lib # Use only if calling $(LD) directly. ifeq ($(XEN_OS),OpenBSD) LDFLAGS_DIRECT += -melf_i386_obsd +else ifeq ($(XEN_OS),FreeBSD) +LDFLAGS_DIRECT += -melf_i386_fbsd else LDFLAGS_DIRECT += -melf_i386 endif